﻿<Window
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d"
	x:Class="EmbDocumentInhalatorSetup.AnimatedPopup"
	x:Name="AnimatedPopupWindow"
	Title="AnimatedPopup"
	Width="646" Height="203" WindowStyle="None" ResizeMode="NoResize">
	<Window.Effect>
		<DropShadowEffect/>
	</Window.Effect>
	<Window.Background>
		<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
			<GradientStop Color="Black" Offset="0"/>
			<GradientStop Color="White" Offset="1"/>
		</LinearGradientBrush>
	</Window.Background>

	<Grid x:Name="LayoutRoot">
		<StackPanel HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
			<TextBlock x:Name="txtCaptionMessage" Text="{Binding ElementName=AnimatedPopupWindow, Path=SetHeaderInfo}" Height="43" FontSize="24" Foreground="#FFFBFBFB"  HorizontalAlignment="Center" ContextMenu="{Binding ElementName=AnimatedPopupWindow}" DataContext="{Binding Path=Text, ElementName=AnimatedPopupWindow}" />
			<Image Source="/EmbDocumentInhalatorSetup;component/images/wait-animation.gif" Stretch="Fill" HorizontalAlignment="Center" Width="97" Height="73" >
				<Image.Effect>
					<DropShadowEffect/>
				</Image.Effect>
			</Image>
			
			<TextBlock x:Name="txtStatusMessage" Text="{Binding ElementName=AnimatedPopupWindow, Path=SetTaskInfo}" Height="43" FontSize="21.333" Foreground="#FFFBFBFB"  HorizontalAlignment="Center" />
		</StackPanel>
	</Grid>
</Window>